<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<div class="pageContent">
	<form method="post" action="${base}/customer/contacts/save.do" class="pageForm required-validate"  onsubmit="return validateCallback(this, ${targetType}AjaxDone);">
	<!-- 来源页面，提交后刷新此页面 -->
	<!-- 来源页面，提交后刷新此页面 -->
	<input type="hidden" name="targetType" value="${targetType}">
	<input type="hidden" name="targetId" value="${targetId}">
	<c:if test="${entity.id!=null}">
	 <input type="hidden" name="id"  value="${entity.id}"/> 
	 <input type="hidden"  name="timestamp"  value="${entity.timestamp}"/> 
	 </c:if>
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>客 户 号：</label>
				<input name="customerNo" type="text" size="20"   readonly="readonly"/>
			</p>
			<p>
				<label>客户名称：</label>
				<input name="name" class="required" type="text" size="20" value="${entity.name}" alt="请输入客户名称"/>
			</p>
			
				<p>
				<label>性别：</label>
             <w:coderadio type="sex" name="sex" value="${entity.sex}"></w:coderadio>
			</p>
		 
			<p>
				<label>职位：</label>
				<input name="pisition"   type="text" size="20"  value="${entity.pisition}"  />
			</p>
			
	 
			
 
			<p>
				<label>婚姻状况：</label>
				<w:codeselect type="marrageType"  value="${entity.marray}" css="combox"></w:codeselect>
			</p>
			<p>
				<label>移动电话：</label>
				<input type="text" name="mophone" size="30" />
			</p>
		 
		 	<p>
				<label>工作电话：</label>
				<input type="text" name="workPhone" size="30" />
			</p>
			
				<p>
				<label>家庭：</label>
				<input type="text" name="homePhone" size="30" />
			</p>
			
				<p>
				<label>单位地址：</label>
				<input type="text" name="workAddress" size="30" />
			</p>
			
				<p>
				<label>家庭地址：</label>
				<input type="text" name="homeAddress" size="30" />
			</p>
			
			<p>
				<label>电子邮件：</label>
				<input type="text" name="email" size="30" />
			</p>
			
			<div class="divider"></div>
			
			<p>
				<label>建档日期：</label>
				<input readonly="readonly" type="text" size="30" />
			</p>
			<p>
				<label>管户经理：</label>
				<input readonly="readonly" type="text" size="30" />
			</p>
			<p>
				<label>最新修改时间：</label>
				<input readonly="readonly" type="text" size="30" />
			</p>
			<p>
				<label>最新修改人员：</label>
				<input readonly="readonly" type="text" size="30" />
			</p>
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
